package com.cy.system.dto;

import java.util.List;
import java.util.Set;

import com.cy.system.entity.Role;
import com.cy.system.entity.RoleDept;
import com.cy.system.entity.RoleMenu;
import com.cy.system.entity.RoleOper;

public class RoleDto {

	private Role role;
	
	private List<RoleMenu> roleMenus;
	
	private List<RoleDept> roleDepts;
	
	private List<RoleOper> roleOpers;

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public List<RoleMenu> getRoleMenus() {
		return roleMenus;
	}

	public void setRoleMenus(List<RoleMenu> roleMenus) {
		this.roleMenus = roleMenus;
	}

	public List<RoleDept> getRoleDepts() {
		return roleDepts;
	}

	public void setRoleDepts(List<RoleDept> roleDepts) {
		this.roleDepts = roleDepts;
	}

	public List<RoleOper> getRoleOpers() {
		return roleOpers;
	}

	public void setRoleOpers(List<RoleOper> roleOpers) {
		this.roleOpers = roleOpers;
	}

	@Override
	public String toString() {
		return "RoleDto [role=" + role + ", roleMenus=" + roleMenus + ", roleDepts=" + roleDepts + ", roleOpers="
				+ roleOpers + "]";
	}
				
}
